package com.me.batm.views;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.tiled.TileAtlas;
import com.badlogic.gdx.graphics.g2d.tiled.TileMapRenderer;
import com.badlogic.gdx.graphics.g2d.tiled.TiledLoader;
import com.badlogic.gdx.graphics.g2d.tiled.TiledMap;

public class GameWorldRenderer {

//	public GameWorldRenderer(OrthographicCamera camera) {
//		this.camera = camera;
//		TiledMap tiledMap = TiledLoader.createMap(Gdx.files.internal("maps/level0.tmx"));
//		TileAtlas tileAtlas = new TileAtlas(tiledMap, Gdx.files.internal("maps"));
//		tileMapRenderer = new TileMapRenderer(tiledMap, tileAtlas, 16, 16);
//		
//		// type of land
//		// System.out.println(tiledMap.tileSets.get(0));
//		
////		System.out.println(tiledMap.layers.get(0).tiles);
////		System.out.println(tiledMap.layers.get(0).tiles[0][0]);
////		System.out.println(tiledMap.layers.get(0).tiles[4][4]);
////		System.out.println(tiledMap.layers.get(0).tiles[15][4]);
//		
////		System.out.println("tile properties: " + tiledMap.getTileProperty(1, "grass"));
//	}
//	
//	public void render() {
//		tileMapRenderer.render(camera);
//	}
	
}
